package com.neusoft.work.service;

import java.util.List;

import com.neusoft.work.dto.BedAssignmentDTO;
import com.neusoft.work.po.BedAssignment;
import com.neusoft.work.po.PageResponseBean;
import com.neusoft.work.po.ResponseBean;

public interface BedAssignmentService {
    ResponseBean<Integer> addBedAssignment(BedAssignment bs);
    ResponseBean<Integer> updateBedAssignment(BedAssignment bs);
    ResponseBean<Integer> deleteBedAssignment(Integer id);
    PageResponseBean<List<BedAssignmentDTO>> queryBedAssignmentInUse(String name, String assignStartTimeBegin, String assignStartTimeEnd, Boolean isDeleted, Long cur, Long number);
    ResponseBean<Integer> deleteByCustomer(Integer customerId);
    ResponseBean<Integer> updateEndTimeByCustomer(Integer customerId, String assignEndTime);
    ResponseBean<String> swapBed(Integer customerId, String newBedNumber);
}
